home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Frameworks
/
TransSkel 3.24
/
Source
/
Dialog Item Stuff
/
SkelSetDlogProc.c
< prev
next >
Wrap
Text File
|
1996-01-17
|
387b
|
22 lines
/*
* Set procedure associated with dialog user item.
*
* If you are passing compiling PowerPC code, proc should be a pointer to
* a routine descriptor.
*/
# include "TransSkel.h"
pascal void
SkelSetDlogProc (DialogPtr d, short item, UserItemUPP proc)
{
short type;
Handle h;
Rect r;
GetDialogItem (d, item, &type, &h, &r);
SetDialogItem (d, item, type, (Handle) proc, &r);
}